<T:ViewBase x:Class="INTEX.SCHEDULER.TSM02"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:ReflectionStudio.Components.UserControls;assembly=ReflectionStudio.Core" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL"  
                    xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"  
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                    Background="White"  
                    Loaded="Window_Loaded"
     >
    <T:ViewBase.Resources> 
        <CollectionViewSource   x:Key="vwSTDAM" Source="{Binding Path=SetEnv.ICC_STDMACHINE}" />
        <ucd:Divideby1440  x:Key="day"/>
        <ucd:Divideby480  x:Key="shift"/>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:TIMES100  x:Key="X100"/>
        <ucd:TIMES10  x:Key="X10"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:PreisConverter  x:Key="PreisConverter"/>
        <ucd:PNumConverter  x:Key="pnum"/>
        <ucd:TextTrimmingConverter  x:Key="Trim"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </T:ViewBase.Resources>
    <Grid >
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="1*"></RowDefinition> 
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="200"></ColumnDefinition>
        </Grid.ColumnDefinitions> 
        <DataGrid  Grid.Row="1"
                                       Margin="0,0,0,0"
                                       Height="200"
                                       CanUserReorderColumns="True"  
                                       FontSize="12"
                                       CanUserResizeRows="True" CanUserSortColumns="True"                  
                                       AutoGenerateColumns="False"   
                                       EnableRowVirtualization="True"  
                                       HorizontalScrollBarVisibility="Auto"
                                       VerticalScrollBarVisibility="Auto"
                                       RowDetailsVisibilityMode="VisibleWhenSelected" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
                                       IsSynchronizedWithCurrentItem="True"   Visibility="Visible" 
                   ItemsSource="{Binding Source={StaticResource ResourceKey=vwSTDAM}}"
                   SelectedItem="{Binding dwSTDAM}"
                  >
            <DataGrid.Columns>
                <DataGridTextColumn Binding="{Binding Path=MACHINEID}" Header="{Binding Source={Localization:TranslateExtension Word=设备类型}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=SMTYP}" Header="{Binding Source={Localization:TranslateExtension Word=分组标识}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=JMVALUE}" Header="{Binding Source={Localization:TranslateExtension Word=测试值}}"  Width="Auto" />
            </DataGrid.Columns>
        </DataGrid  >
        </Grid>

</T:ViewBase> 
 
